﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Beetle.Web.UI.WebControls
{
    public class SearchValueItem
    {
        /// <summary>
        /// 大于,小于等
        /// </summary>
        public SearchOperationEnum SearchOperation { get; internal set; }

        /// <summary>
        /// 数据类型(字符串,时间,数字, 布尔)
        /// </summary>
        public SearchDateType DataType { get; internal set; }

        /// <summary>
        /// 字段名  
        /// </summary>
        public string FieldName { get; internal set; }

        /// <summary>
        /// 对应的行类型
        /// </summary>
        public Type ItemType { get; internal set; }

        /// <summary>
        /// 行索引
        /// </summary>
        public int ItemIndex { get; internal set; }

        /// <summary>
        /// 连接谓词
        /// </summary>
        public SearchPredicationEnum Predication { get; internal set; }

        /// <summary>
        /// 显示行名  
        /// </summary>
        public string Text { get; internal set; }

        /// <summary>
        /// 字段值  
        /// </summary>
        public string Value { get; internal set; }
    }
}
